package com.xxkk.spring_boot_web.sdk.KBZ.bean;

import java.util.ArrayList;
import java.util.List;
import java.util.UUID;

public class HistoryReqBean {
    private int count = 10;
    private String direction = "";

    private String isHomePage = "false";
    private String maxAmount = "";
    private String minAmount ="";
    private boolean needTotalAmount = true;
    private String oppositeMsisdn = "";
    private String oppositePartyId= "";
    private String oppositeShortCode= "";
    private int startNum = 0;
    private long toDate;
    private String commandId = "NewTransRecordList";
    private String encoding = "unicode";

    private String token = "";
    private String version = "5.8.0";
    private String platform = "Android";
    private String originatorConversationID = UUID.randomUUID().toString();
    private String timestamp = String.valueOf(System.currentTimeMillis());
    private String deviceID ;
    private String language = "en";

    private String initiatorMSISDN;

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public List<String> getFilterTypes() {
        return filterTypes;
    }

    public void setFilterTypes(List<String> filterTypes) {
        this.filterTypes = filterTypes;
    }

    public long getFromDate() {
        return fromDate;
    }

    public void setFromDate(long fromDate) {
        this.fromDate = fromDate;
    }

    private List<String> filterTypes = new ArrayList<>();
    private long fromDate;

    public String getIsHomePage() {
        return isHomePage;
    }

    public void setIsHomePage(String isHomePage) {
        this.isHomePage = isHomePage;
    }

    public String getMaxAmount() {
        return maxAmount;
    }

    public void setMaxAmount(String maxAmount) {
        this.maxAmount = maxAmount;
    }

    public String getMinAmount() {
        return minAmount;
    }

    public void setMinAmount(String minAmount) {
        this.minAmount = minAmount;
    }

    public boolean isNeedTotalAmount() {
        return needTotalAmount;
    }

    public void setNeedTotalAmount(boolean needTotalAmount) {
        this.needTotalAmount = needTotalAmount;
    }

    public String getOppositeMsisdn() {
        return oppositeMsisdn;
    }

    public void setOppositeMsisdn(String oppositeMsisdn) {
        this.oppositeMsisdn = oppositeMsisdn;
    }

    public String getOppositePartyId() {
        return oppositePartyId;
    }

    public void setOppositePartyId(String oppositePartyId) {
        this.oppositePartyId = oppositePartyId;
    }

    public String getOppositeShortCode() {
        return oppositeShortCode;
    }

    public void setOppositeShortCode(String oppositeShortCode) {
        this.oppositeShortCode = oppositeShortCode;
    }

    public int getStartNum() {
        return startNum;
    }

    public void setStartNum(int startNum) {
        this.startNum = startNum;
    }

    public long getToDate() {
        return toDate;
    }

    public void setToDate(long toDate) {
        this.toDate = toDate;
    }

    public String getCommandId() {
        return commandId;
    }

    public void setCommandId(String commandId) {
        this.commandId = commandId;
    }

    public String getEncoding() {
        return encoding;
    }

    public void setEncoding(String encoding) {
        this.encoding = encoding;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public String getPlatform() {
        return platform;
    }

    public void setPlatform(String platform) {
        this.platform = platform;
    }

    public String getOriginatorConversationID() {
        return originatorConversationID;
    }

    public void setOriginatorConversationID(String originatorConversationID) {
        this.originatorConversationID = originatorConversationID;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }

    public String getDeviceID() {
        return deviceID;
    }

    public void setDeviceID(String deviceID) {
        this.deviceID = deviceID;
    }

    public String getLanguage() {
        return language;
    }

    public void setLanguage(String language) {
        this.language = language;
    }

    public String getInitiatorMSISDN() {
        return initiatorMSISDN;
    }

    public void setInitiatorMSISDN(String initiatorMSISDN) {
        this.initiatorMSISDN = initiatorMSISDN;
    }



    public HistoryReqBean(long fromDate, long toDate, String token, String deviceID, String initiatorMSISDN,int startNum) {
        this.fromDate = fromDate;
        this.toDate = toDate;
        this.token = token;
        this.deviceID = deviceID;
        this.initiatorMSISDN = initiatorMSISDN;
        this.startNum = startNum;
    }
}
